package com.Shuang.Test3;

import java.time.LocalDate;

public class Day {
    private boolean isWork;  //true代表这天工作
    private LocalDate Date;  //当天的日期

    public Day() {
    }

    public Day(boolean isWork, LocalDate date) {
        this.isWork = isWork;
        Date = date;
    }

    public boolean isWork() {
        return isWork;
    }

    public void setWork(boolean work) {
        isWork = work;
    }

    public LocalDate getDate() {
        return Date;
    }

    public void setDate(LocalDate date) {
        Date = date;
    }

    @Override
    public String toString() {
        return Date.toString();
    }
}
